package com.zdwl.dao;

import com.zdwl.pojo.MainInfoFile;
import com.zdwl.pojo.MainInfoFileExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface MainInfoFileMapper {
    int countByExample(MainInfoFileExample example);

    int deleteByExample(MainInfoFileExample example);

    int deleteByPrimaryKey(String mainfofileid);

    int insert(MainInfoFile record);

    int insertSelective(MainInfoFile record);

    List<MainInfoFile> selectByExample(MainInfoFileExample example);

    MainInfoFile selectByPrimaryKey(String mainfofileid);

    int updateByExampleSelective(@Param("record") MainInfoFile record, @Param("example") MainInfoFileExample example);

    int updateByExample(@Param("record") MainInfoFile record, @Param("example") MainInfoFileExample example);

    int updateByPrimaryKeySelective(MainInfoFile record);

    int updateByPrimaryKey(MainInfoFile record);
}